x86/pt: add a MSI unmask flag to XEN_DOMCTL_bind_pt_irq
authorRoger Pau Monné <roger.pau@citrix.com>
Wed, 30 Aug 2017 09:02:24 +0000 (11:02 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 30 Aug 2017 09:02:24 +0000 (11:02 +0200)
commit69d99d1b223fc5082400374698ddd7486e5ea953
treee3cd8ecefb9591be6bbcd00e313d8a2ba0364bda
parent2cfc5fca7d7380a954e01b1f3673fe28d5cc5347
x86/pt: add a MSI unmask flag to XEN_DOMCTL_bind_pt_irq

The flag is part of the gflags, and should be used to request the
unmask of a MSI interrupt once it's bound.

This is required for the device model in order to be capable of
binding MSIX interrupts that have the entry mask bit already unset at
bind time. Without this fix the interrupts would be left masked.

Note that this commit introduces a change to the domctl, which
requires a bump of the interface version. This is not done here
because the interface version has already been bumped in this release
cycle.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reported by: Andreas Kinzler <hfp@posteo.de>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/drivers/passthrough/io.c
xen/include/asm-x86/hvm/irq.h